import React, { FC } from 'react';
import { withRouter, RouteComponentProps } from 'react-router-dom'

interface DetailProps extends RouteComponentProps {
   name: string
}

export const Detail:FC<DetailProps> = (props) => {
  // console.log(props.name, 'props')
  return <div>Detail</div>
}

export default withRouter(Detail);
